<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      th:replace="layouts/master(title='学生列表')"><!-- layout文件路径-->


<th:block th:fragment="css">
    <link rel="stylesheet" href="/plugins/bootstraptable/bootstrap-table.min.css">
</th:block>
<div th:fragment="content">
    <h1>这是我的内容</h1>

    <a class="btn bg-purple margin" href="/student/add" target="_blank">新增</a>

    <table class="table table-striped" id="students">
<!--        <thead>-->
<!--        <tr>-->
<!--            <th>id</th>-->
<!--            <th>Name</th>-->
<!--            <th>Score</th>-->
<!--            <th>sex</th>-->
<!--        </tr>-->
<!--        </thead>-->
<!--        <tbody >-->
<!--        </tbody>-->
    </table>

</div>

<div th:fragment="scripts">
    <script src="/plugins/bootstraptable/bootstrap-table.min.js"></script>
    <script src="/plugins/bootstraptable/locale/bootstrap-table-zh-CN.min.js"></script>


    <script  type="text/javascript" src="/pagejs/list.js"></script>
</div>
</html>